
<%@ page import="ecitys.gcs.Estabelecimento" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'estabelecimento.label', default: 'Estabelecimento')}" />
        <title><g:message code="default.show.label" args="[entityName]" /></title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></span>
            <span class="menuButton"><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></span>
            <span class="menuButton"><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></span>
        </div>
        <div class="body">
            <h1><g:message code="default.show.label" args="[entityName]" /></h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="dialog">
                <table>
                    <tbody>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.id.label" default="Id" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: estabelecimentoInstance, field: "id")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.responsavelSefip.label" default="Responsavel Sefip" /></td>
                            
                            <td valign="top" class="value"><g:link controller="responsavelSefip" action="show" id="${estabelecimentoInstance?.responsavelSefip?.id}">${estabelecimentoInstance?.responsavelSefip?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.fornecedorFolha.label" default="Fornecedor Folha" /></td>
                            
                            <td valign="top" class="value"><g:link controller="fornecedorFolha" action="show" id="${estabelecimentoInstance?.fornecedorFolha?.id}">${estabelecimentoInstance?.fornecedorFolha?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.sindicato.label" default="Sindicato" /></td>
                            
                            <td valign="top" class="value"><g:link controller="sindicato" action="show" id="${estabelecimentoInstance?.sindicato?.id}">${estabelecimentoInstance?.sindicato?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.entidade.label" default="Entidade" /></td>
                            
                            <td valign="top" class="value"><g:link controller="entidade" action="show" id="${estabelecimentoInstance?.entidade?.id}">${estabelecimentoInstance?.entidade?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.nomeDoEstabelecimento.label" default="Nome Do Estabelecimento" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: estabelecimentoInstance, field: "nomeDoEstabelecimento")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.cnpjEstabelecimento.label" default="Cnpj Estabelecimento" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: estabelecimentoInstance, field: "cnpjEstabelecimento")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.nomeLogradouro.label" default="Nome Logradouro" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: estabelecimentoInstance, field: "nomeLogradouro")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.numeroLogradouro.label" default="Numero Logradouro" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: estabelecimentoInstance, field: "numeroLogradouro")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.bairro.label" default="Bairro" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: estabelecimentoInstance, field: "bairro")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.cep.label" default="Cep" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: estabelecimentoInstance, field: "cep")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.complemento.label" default="Complemento" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: estabelecimentoInstance, field: "complemento")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.ddd.label" default="Ddd" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: estabelecimentoInstance, field: "ddd")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.numeroTelefone.label" default="Numero Telefone" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: estabelecimentoInstance, field: "numeroTelefone")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.numeroFax.label" default="Numero Fax" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: estabelecimentoInstance, field: "numeroFax")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.enderecoEmail.label" default="Endereco Email" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: estabelecimentoInstance, field: "enderecoEmail")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.enderecoSite.label" default="Endereco Site" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: estabelecimentoInstance, field: "enderecoSite")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.isMatriz.label" default="Is Matriz" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: estabelecimentoInstance, field: "isMatriz")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.inscricaoEstadual.label" default="Inscricao Estadual" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: estabelecimentoInstance, field: "inscricaoEstadual")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.inscricaoMunicipal.label" default="Inscricao Municipal" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: estabelecimentoInstance, field: "inscricaoMunicipal")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.isCentralizadorFgts.label" default="Is Centralizador Fgts" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: estabelecimentoInstance, field: "isCentralizadorFgts")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.numeroCei.label" default="Numero Cei" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: estabelecimentoInstance, field: "numeroCei")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.opcaoPat.label" default="Opcao Pat" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: estabelecimentoInstance, field: "opcaoPat")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.opcaoFiliacaoSindicato.label" default="Opcao Filiacao Sindicato" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: estabelecimentoInstance, field: "opcaoFiliacaoSindicato")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.mesDataBase.label" default="Mes Data Base" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: estabelecimentoInstance, field: "mesDataBase")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.utilizaArredondamento.label" default="Utiliza Arredondamento" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: estabelecimentoInstance, field: "utilizaArredondamento")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.opcao13Salario.label" default="Opcao13 Salario" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: estabelecimentoInstance, field: "opcao13Salario")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.opcaoPagamentoSalario.label" default="Opcao Pagamento Salario" /></td>
                            
                            <td valign="top" class="value">${fieldValue(bean: estabelecimentoInstance, field: "opcaoPagamentoSalario")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.uf.label" default="Uf" /></td>
                            
                            <td valign="top" class="value"><g:link controller="uf" action="show" id="${estabelecimentoInstance?.uf?.id}">${estabelecimentoInstance?.uf?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name"><g:message code="estabelecimento.municipio.label" default="Municipio" /></td>
                            
                            <td valign="top" class="value"><g:link controller="municipio" action="show" id="${estabelecimentoInstance?.municipio?.id}">${estabelecimentoInstance?.municipio?.encodeAsHTML()}</g:link></td>
                            
                        </tr>
                    
                    </tbody>
                </table>
            </div>
            <div class="buttons">
                <g:form>
                    <g:hiddenField name="id" value="${estabelecimentoInstance?.id}" />
                    <span class="button"><g:actionSubmit class="edit" action="edit" value="${message(code: 'default.button.edit.label', default: 'Edit')}" /></span>
                    <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
                </g:form>
            </div>
        </div>
    </body>
</html>
